import Vue from 'vue'
import Vuex from 'vuex'
import listModule from "./listModule";
import listSlideModule from "./listSlideModule";
import shopListModule from "./shopListModule";
import detailsModule from "./detailsModule";
import cartModule from "./cartModule";
import classifyModule from "./classifyModule";

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
  },
  mutations: {
  },
  actions: {
  },
  modules: {
    listModule, // 砍价状态请求
    listSlideModule,//专题状态请求
    shopListModule,//所有数据
    detailsModule,//商品详情
    cartModule,//购物车数据
    classifyModule,//分类页面数据
  }
})
